package com.tm.biz.feignclient;

import com.tm.biz.feignclient.impl.OrderClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.math.BigDecimal;
import java.util.Map;

@FeignClient(name = "seata-order",fallback = OrderClientImpl.class)
public interface OrderClient {

    @PostMapping("createOrder")
    int createOrder(@RequestBody Map<String,String> map);

}
